package com.sys.core.init.mysql;

/**
 * Created by 汤伟杰 on 2017/5/3.
 */
public class TableClass {
    /** 表字段名*/
    private String name;
    /** 类名 */
    private String properties;

    /** 表id（数据库字段名）*/
    private String primaryKey;
    /** 类主键（字段名） */
    private String keyProperties;
    /** 类主键类型 java.lang.String 或者其他 */
    private String keyType;
    private String keyTypeSimple;//String或者其他
    /** 字段名首位大写 */
    private String keyPropertiesUp;
    /** 描述 */
    private String describe;

    /**
     * 引擎
     * 1、MyIASM管理非事务表，提供高速存储和检索以及全文搜索能力，如果再应用中执行大量select操作，应该选择MyIASM
     * 2、InnoDB用于事务处理，具有ACID事务支持等特性，如果在应用中执行大量insert和update操作，应该选择InnoDB
     * @return
     */
    private String engine;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getEngine() {
        return engine;
    }

    public void setEngine(String engine) {
        this.engine = engine;
    }

    public String getProperties() {
        return properties;
    }

    public void setProperties(String properties) {
        this.properties = properties;
    }

    public String getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(String primaryKey) {
        this.primaryKey = primaryKey;
    }

    public String getKeyProperties() {
        return keyProperties;
    }

    public void setKeyProperties(String keyProperties) {
        this.keyProperties = keyProperties;
    }

    public String getKeyPropertiesUp() {
        return keyPropertiesUp;
    }

    public void setKeyPropertiesUp(String keyPropertiesUp) {
        this.keyPropertiesUp = keyPropertiesUp;
    }

    public String getKeyType() {
        return keyType;
    }

    public void setKeyType(String keyType) {
        this.keyType = keyType;
    }

    public String getKeyTypeSimple() {
        return keyTypeSimple;
    }

    public void setKeyTypeSimple(String keyTypeSimple) {
        this.keyTypeSimple = keyTypeSimple;
    }
}
